package com.google.code.jholidays.core;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

import java.util.List;

import org.junit.Test;

import com.google.code.jholidays.base.TestHelper;
import com.google.code.jholidays.events.IEvent;
import com.google.code.jholidays.exceptions.NotSupportedEventException;

public class EventBuilderTest extends TestHelper {

    @Test
    public void testBuildEvents() throws IllegalArgumentException,
	    NotSupportedEventException {
	DescriptorCollection list = generateFixedCollection();

	EventBuilder builder = new EventBuilder();

	assertTrue(list.isConsistent());

	List<IEvent> events = builder.buildEvents(list);

	assertNotNull(events);

	fail("Not yet implemented");

    }

}
